home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_11_08
/
weber
/
keys.h
< prev
next >
Wrap
Text File
|
1993-03-11
|
2KB
|
120 lines
/***************************************************************
* file: KEYS.H
* purpose: virtual key values, IBM PC keyboards with PC BIOS
* copyright: 1991 by David Weber. All rights reserved.
* This software can be used for any purpose as object, library or executable.
* It cannot be sold for profit as source code.
* history:
* 12-18-91 - initial code
* 01-31-93 - this code is now obsolete, see the CPP gui package
**************************************************************/
#ifndef _KEYS
#define _KEYS
#define KEY_MIN 0
#define KEY_MAX 511
#define ALTA 286
#define ALTB 304
#define ALTC 302
#define ALTD 288
#define ALTE 274
#define ALTF 289
#define ALTG 290
#define ALTH 291
#define ALTI 279
#define ALTJ 292
#define ALTK 293
#define ALTL 294
#define ALTM 306
#define ALTN 305
#define ALTO 280
#define ALTP 281
#define ALTQ 272
#define ALTR 275
#define ALTS 287
#define ALTT 276
#define ALTU 278
#define ALTV 303
#define ALTW 273
#define ALTX 301
#define ALTY 277
#define ALTZ 300
#define ALT1 376
#define ALT2 377
#define ALT3 378
#define ALT4 379
#define ALT5 380
#define ALT6 381
#define ALT7 382
#define ALT8 383
#define ALT9 384
#define ALT0 385
#define CTRLA 1
#define CTRLB 2
#define CTRLC 3
#define CTRLD 4
#define CTRLE 5
#define CTRLF 6
#define CTRLG 7
#define CTRLH 8
#define CTRLI 9
#define CTRLJ 10
#define CTRLK 11
#define CTRLL 12
#define CTRLM 13
#define CTRLN 14
#define CTRLO 15
#define CTRLP 16
#define CTRLQ 17
#define CTRLR 18
#define CTRLS 19
#define CTRLT 20
#define CTRLU 21
#define CTRLV 22
#define CTRLW 23
#define CTRLX 24
#define CTRLY 25
#define CTRLZ 26
#define F1 315
#define F2 316
#define F3 317
#define F4 318
#define F5 319
#define F6 320
#define F7 321
#define F8 322
#define F9 323
#define F10 324
#define HOME 327
#define END 335
#define PGUP 329
#define PGDN 337
#define UPARROW 328
#define DOWNARROW 336
#define LEFTARROW 331
#define RIGHTARROW 333
#define INS 338
#define DELETE 339
#define CTRLHOME 375
#define CTRLEND 373
#define CTRLPGUP 388
#define CTRLPGDN 374
#define CTRLLEFTARROW 371
#define CTRLRIGHTARROW 372
#define RETURN 13
#define CTRLRETURN 10
#define BKSP 8
#define ESC 27
#define TAB 9
#define SHIFTTAB 271
#define SPACE 32
#endif